﻿using AutoMapper;
using T_vehicle.API.Application.Command.RepairRecordsCommand;
using T_vehicle.Domain;

namespace T_vehicle.API.Extensions
{
    public class RepairRecordsAuto:Profile
    {
        public RepairRecordsAuto()
        {
            //添加维修记录
            CreateMap<AddRepairRecordsCommand,RepairRecords>().ReverseMap();
            //修改维修记录
            CreateMap<UpdateRepairRecordsCommand,RepairRecords>().ReverseMap();
        }
    }
}
